package handax.entities;

/**
 *
 * @author Andreas Apostolidis
 */
public class Restaurant {

    //Column name = "ID"
    private Integer id;
    //Column name = "REST_NAME"
    private String restName;
    // @Column(name = "ADDRESS"
    private String address;
    //Column name = "PHONE"
    private String phone;
    //Column name = "INFO"
    private String info;
    //Column name = "DESCR"
    private String descr;
    //Column(name = "PHOTO")
    private String photo;
    //Column(name = "PRICE_ID"
    private Integer price;
    //Column name = "CATEGORY_ID"
    private Integer category;
    //Column name = "AREA_ID"
    private Integer area;

//Constructors
    public Restaurant() {
    }

    public Restaurant(Integer id) {
        this.id = id;
    }

    public Restaurant(Integer id, String restName, String address, String phone) {
        this.id = id;
        this.restName = restName;
        this.address = address;
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRestName() {
        return restName;
    }

    public void setRestName(String restName) {
        this.restName = restName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    @Override
    public String toString() {
        return "Restaurant{" + "restName=" + restName + ", address=" + address + ", phone=" + phone + ", category=" + category + '}';
    }
    
}
